package com.langfeiyes.pattern.adapter.demo;

import com.langfeiyes.pattern.adapter.object.Target;

//type-c  转 33mm线
public class TypeCTo33MM implements Target {
    //33mm耳机线
    private Headset35MM headset35MM;
    public TypeCTo33MM(Headset35MM headset35MM) {
        this.headset35MM = headset35MM;
    }
    @Override
    public void request() {
        System.out.println("转接头一端连接type-c，一端连接33mm线....");
        headset35MM.listen33MM();
    }
}
